package com.example.weaving.admin.api.service.impl;

import com.example.weaving.admin.api.domain.SysRole;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.example.weaving.admin.api.mapper.SysRoleMapper;
import com.example.weaving.admin.api.service.SysRoleService;

import java.util.List;

@Service
public class SysRoleServiceImpl implements SysRoleService{

    @Resource
    private SysRoleMapper sysRoleMapper;

    @Override
    public List<SysRole> getAll() {
        List<SysRole> sysRoles = sysRoleMapper.selectAll();
        return sysRoles;
    }
}
